package com.estate.business;

import java.util.List;

import com.estate.vo.Vo;
import com.estate.vo.impl.AnnouncementVo;
import com.estate.vo.impl.UserInfoVo;

public interface AnnouncementService {

	public boolean addAnnouncement(AnnouncementVo announcement);
	public List<Vo> getAnnouncementList(UserInfoVo userInfo);
	public Vo getAnnouncementVo(int id);
	public boolean updateAnnouncement(AnnouncementVo announcement);
	public boolean deleteAnnouncement(AnnouncementVo announcement);
	public boolean deleteMultiAnnouncement(String delStr);
	public boolean updatePost(int id);
	public boolean updateReadNum(AnnouncementVo vo);
}
